package com.smartcommunity.entity.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @ClassName UpdateSysDto
 * @Author lilun
 * @Description TODO
 * @Date 2020/1/2 14:08
 * @Version 1.0
 */
@ApiModel(description = "更新系统操作参数请求模型")
@Data
public class UpdateSysDto implements Serializable {

    private static final long serialVersionUID = -4235076073547115487L;
    @NotBlank(message = "key不能为空！")
    @ApiModelProperty(notes = "参数键", example="1")
    private String key;

    @NotBlank(message = "value不能为空！")
    @ApiModelProperty(notes = "参数值", example="1")
    private String value;

}
